#pragma once


#include "MaterialGraph/Node/MaterialGraphNodeModel.h"
#include "MaterialSplitVectorNodeModel.m.h"



//out put mesh/vertice properties, like position, uv
RCLASS()
class RMaterialSplitVectorNodeModel : public RMaterialGraphNodeModel
{
    ROBJECT
    
public:
    virtual void FirstTimeInitializeObject() override;

    virtual CString GenerateExpression() override;

    bool IsSplit2D() const { return bSplit2D; }
    void SetSplit2D(bool bInSplit2D);
protected:

    //split 2D or 3D vector
    RFIELD()
    bool bSplit2D = false;

};